package com.shop.pojo.sms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

//秒杀活动商品关联
@TableName("sms_seckill_sku_relation")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Sms_Seckill_Sku_Relation {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long promotion_id;//活动id',
    private Long promotion_session_id;//活动场次id',
    private Long sku_id;//商品id',
    private BigDecimal seckill_price;//秒杀价格',
    private Integer seckill_count;//秒杀总量',
    private Integer seckill_limit;//每人限购数量',
    private Integer seckill_sort;//排序',
}
